package com.jeequan.jeepay.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeequan.jeepay.core.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

 /**
 * 账本类型表;
 * @author : wondream322@gmail.com
 * @date : 2023-8-19
 */
@ApiModel(value = "账本类型表",description = "")
@TableName("balance_type")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class BalanceType extends BaseModel implements Serializable,Cloneable{
    
     //gw
     public static final LambdaQueryWrapper<PayMemberDO> gw(){
         return new LambdaQueryWrapper<>();
     }
     
    /**  */
    @ApiModelProperty(value = "",name = "",notes = "")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id ;
    /** 会员ID */
    @ApiModelProperty(value = "会员ID",name = "会员ID",notes = "")
    private Integer memberId ;
    /** 账本类型 */
    @ApiModelProperty(value = "账本类型",name = "账本类型",notes = "")
    private Integer type ;
    /** 账本类型名称 */
    @ApiModelProperty(value = "账本类型名称",name = "账本类型名称",notes = "")
    private String typeName ;
    /** 货币英文编码 */
    @ApiModelProperty(value = "货币英文编码",name = "货币英文编码",notes = "")
    private String code ;
    /** 货币符号 */
    @ApiModelProperty(value = "货币符号",name = "货币符号",notes = "")
    private String symbol ;
    /** 能否提现 */
    @ApiModelProperty(value = "能否提现",name = "能否提现",notes = "")
    private String isTixian ;
    /** 能否转账 */
    @ApiModelProperty(value = "能否转账",name = "能否转账",notes = "")
    private String isTransfer ;
    /** 能否兑换 */
    @ApiModelProperty(value = "能否兑换",name = "能否兑换",notes = "")
    private String isExchange ;
    /** 能否充值 */
    @ApiModelProperty(value = "能否充值",name = "能否充值",notes = "")
    private String isRecharge ;
    /** 账本的价格（对人民币汇率） */
    @ApiModelProperty(value = "账本的价格（对人民币汇率）",name = "账本的价格（对人民币汇率）",notes = "")
    private BigDecimal price ;
    /** 备注 */
    @ApiModelProperty(value = "备注",name = "备注",notes = "")
    private String remark ;
    /** 状态：0-失效 1-有效 */
    @ApiModelProperty(value = "状态：0-失效 1-有效",name = "状态：0-失效 1-有效",notes = "")
    private Integer state ;
    /** 创建时间 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "创建时间",name = "创建时间",notes = "")
    private Date createTime ;
    /** 更新时间 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "更新时间",name = "更新时间",notes = "")
    private Date updateTime ;

}